package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 分区信息对象 basicZone
 * 
 * @author ruoyi
 * @date 2025-03-02
 */
public class BasicZone extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 分区 ID */
    private Long zoneId;

    /** 分区名称 */
    @Excel(name = "分区名称")
    private String zoneName;

    /** 创建人 */
    @Excel(name = "创建人")
    private String creator;

    /** 上次更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "上次更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date lastUpdateTime;

    /** 更新人 */
    @Excel(name = "更新人")
    private String updater;

    /** 分区级别 */
    @Excel(name = "分区级别")
    private Long zoneLevel;

    public void setZoneId(Long zoneId) 
    {
        this.zoneId = zoneId;
    }

    public Long getZoneId() 
    {
        return zoneId;
    }
    public void setZoneName(String zoneName) 
    {
        this.zoneName = zoneName;
    }

    public String getZoneName() 
    {
        return zoneName;
    }
    public void setCreator(String creator) 
    {
        this.creator = creator;
    }

    public String getCreator() 
    {
        return creator;
    }
    public void setLastUpdateTime(Date lastUpdateTime) 
    {
        this.lastUpdateTime = lastUpdateTime;
    }

    public Date getLastUpdateTime() 
    {
        return lastUpdateTime;
    }
    public void setUpdater(String updater) 
    {
        this.updater = updater;
    }

    public String getUpdater() 
    {
        return updater;
    }
    public void setZoneLevel(Long zoneLevel) 
    {
        this.zoneLevel = zoneLevel;
    }

    public Long getZoneLevel() 
    {
        return zoneLevel;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("zoneId", getZoneId())
            .append("zoneName", getZoneName())
            .append("createTime", getCreateTime())
            .append("creator", getCreator())
            .append("lastUpdateTime", getLastUpdateTime())
            .append("updater", getUpdater())
            .append("zoneLevel", getZoneLevel())
            .toString();
    }
}
